﻿/********************************************************************************************
 * 文件名称:	SubtitleInfo.cs
 * 设计人员:	严(yanxianghui@gmail.com)
 * 设计时间:	2009-03-16
 * 功能描述:	字幕
 * 注意事项:	
 * 版权所有:	Copyright (c) 2009, Fujian SIRC
 * 修改记录: 	修改时间		人员		修改备注
 *				    ----------		------		-------------------------------------------------
 *
 ********************************************************************************************/
using System;
using System.Collections.Generic;
using System.Text;
using Shanfree.Framework.Utility;

namespace Shanfree.SharpMovie.Model
{
    /// <summary>
    /// 字幕
    /// </summary>
    [Persistence(IsPrimaryKey = false, ColumnName = "Subtitle")]
    public class SubtitleInfo
    {
        string _id = string.Empty;
        /// <summary>
        /// 主键
        /// </summary>
        [Persistence(IsPrimaryKey = true, ColumnName = "ID")]
        public String ID
        {
            get
            {
                return _id;
            }
            set
            {
                _id = value;
            }
        }
        byte[] _content = new byte[]{};
        /// <summary>
        /// 字幕文件内容
        /// </summary>
        [Persistence(IsPrimaryKey = false, ColumnName = "Content")]
        public byte[] Content
        {
            get
            {
                return _content;
            }
            set
            {
                _content = value;
            }
        }

        string _remark = string.Empty;
        /// <summary>
        /// 字母上传备注
        /// </summary>
        [Persistence(IsPrimaryKey = false, ColumnName = "Remark")]
        public string Remark
        {
            get
            {
                return _remark;
            }
            set
            {
                _remark = value;
            }
        }

        string _movieID = string.Empty;
        /// <summary>
        /// 影片主键
        /// </summary>
        [Persistence(IsPrimaryKey = false, ColumnName = "MovieID")]
        public string MovieID
        {
            get
            {
                return _movieID;
            }
            set
            {
                _movieID = value;
            }
        }

        string _userID = string.Empty;
        /// <summary>
        /// 上传用户主键
        /// </summary>
        [Persistence(IsPrimaryKey = false, ColumnName = "UserID")]
        public string UserID
        {
            get
            {
                return _userID;
            }
            set
            {
                _userID = value;
            }
        }
    }
}
